<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
    <title>Document</title>
</head>
<body>
   <div id="app">
    <h1>{{name}}</h1>
    <h2>{{age}}</h2>
    <h3>{{msg}}</h3>
    <img v-bind:src="imgSrc" width="500"  alt="zhuzhu">
    <img v-bind:src="imgSrc" v-bind:width="imgWidth"  alt="zhuzhu">

   </div>
   <script>
    const vm = new Vue({
        // el:"#app",
        data(){
            return{
                name:"康宝",
                age:18,
                msg:"love you",
                imgSrc:"https://t7.baidu.com/it/u=1821774132,1672599400&fm=193&f=GIF",
                imgWidth:300,
            }
        }
    }) 
    setTimeout(() => {
        vm.$mount("#app")
    }, 3000);
   </script>
</body>
</html>